//==============================================================================
// Storehouse_anim.txt
//==============================================================================


import Construction_defines_anim.txt

//==============================================================================
define VINEA
{
   set hotspot
   {
      version
      {
         Visual Building VineA
      }
   }  
}

//==============================================================================
define CypressB
{
   set hotspot
   {
      version
      {
         Visual Terrain G CypressB
      }
   }  
}

//==============================================================================
define Dust
{
   set hotspot
   {
      version
      {
         Visualparticle SFX A Building DustA
      }
   }  
}

//==============================================================================
define GoldLight
{
	set hotspot
	{
		version
		{
			Visual GoldLight
		}
	}  
}
//==============================================================================
anim idle
{
   SetSelector
   {
      TechLogic none/age 2/age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge0
               connect Rightfoot VineA hotspot
               connect Rightear VineA hotspot
               connect leftear GoldLight hotspot
               connect leftfoot GoldLight hotspot
               connect leftforearm GoldLight hotspot
               connect lefthand GoldLight hotspot
               connect leftleg GoldLight hotspot
               connect leftshoulder GoldLight hotspot
               connect leftthigh GoldLight hotspot
               connect topofhead GoldLight hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
      }
    //---------------------------Age 1--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building G Mining CampAge1
					connect Rightfoot VineA hotspot
					connect Rightear VineA hotspot
               connect leftear GoldLight hotspot
               connect leftfoot GoldLight hotspot
               connect leftforearm GoldLight hotspot
               connect lefthand GoldLight hotspot
               connect leftleg GoldLight hotspot
               connect leftshoulder GoldLight hotspot
               connect leftthigh GoldLight hotspot
               connect topofhead GoldLight hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
		}
    //---------------------------Age 2--------------------------------//  
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge2
               connect Rightfoot VineA hotspot
               connect Rightear VineA hotspot
               connect leftear GoldLight hotspot
               connect leftfoot GoldLight hotspot
               connect leftforearm GoldLight hotspot
               connect lefthand GoldLight hotspot
               connect leftleg GoldLight hotspot
               connect leftshoulder GoldLight hotspot
               connect leftthigh GoldLight hotspot
               connect topofhead GoldLight hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
      }
    //---------------------------Age 3--------------------------------//  
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge3
               connect Rightfoot VineA hotspot
               connect Rightear VineA hotspot
               connect leftear GoldLight hotspot
               connect leftfoot GoldLight hotspot
               connect leftforearm GoldLight hotspot
               connect lefthand GoldLight hotspot
               connect leftleg GoldLight hotspot
               connect leftshoulder GoldLight hotspot
               connect leftthigh GoldLight hotspot
               connect topofhead GoldLight hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
      }
   }
}
//==============================================================================
anim Death
{
   SetSelector
   {
      TechLogic none/age 2/age 3/age 4
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge0_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
      }
    //---------------------------Age 1--------------------------------// 
		SetSelector
		{
			ConstructionLogic 0 33 66
			set hotspot
			{
				version
				{
					Visual Building G Mining CampAge1_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small A
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building Construction small B
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
			set hotspot
			{
				version
				{
					Visual Building G ConstructionMine
					connect CHIN G_Small_Brick hotspot
					connect FACE G_Medium_Brick hotspot
					connect ATTACHPOINT G_Long_Brick hotspot
				}
			}
		}
    //---------------------------Age 2--------------------------------//  
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge2_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
      }
    //---------------------------Age 3--------------------------------//  
      SetSelector
      {
         ConstructionLogic 0 33 66
         set hotspot
         {
            version
            {
               Visual Building G Mining CampAge3_Death
               connect Smoke0 Dust hotspot
					connect Smoke1 Dust hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small A
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building Construction small B
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
         set hotspot
         {
            version
            {
               Visual Building G ConstructionMine
		         connect CHIN G_Small_Brick hotspot
		         connect FACE G_Medium_Brick hotspot
		         connect ATTACHPOINT G_Long_Brick hotspot
            }
         }
      }
   }
}


